﻿<h3>
    Incident Log:</h3>
<p>
    Here is a complete list of all the incidents logged. Check the log below to find
    out if you have been hit by the Thump Thump Bus.
</p>
<ol class="round">
</ol>
<script type="text/javascript">
    $(document).ready(function () {
        // Send an AJAX request
        $.getJSON("api/IncidentService/",
					function (data) {
					    // On success, 'data' contains a table of People.
					    $.each(data, function (key, val) {
					        var str = "<li><mark>" + val.AssailantName + "</mark> threw <mark>" + val.VictimName + "</mark> under the bus for: <mark>" + val.IncidentReason + "</mark></li>";
					        $("ol.round").append(str);
					    });
					});
    });
</script>
